package com.nmt.field_method05;

public class PassObject {
   public void printAreas(Circle circle, int time) {
       System.out.println("半径\t\t" + "面积");
       for (int i = 1; i <= time; i++) {

            circle.radius = i;
            double s = circle.findArea();

            System.out.println(circle.radius +
                   "\t\t" + s);
        }
    }
}